package org.yangspring.samples.mvc.domainOracle;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by whyang on 2017/06/22.
 */

@Entity
@Table(schema = "SCOTT", name = "SALGRADE")
public class Salgrade {

    @Id
    @Column(name = "GRADE")
    private Integer grade;

    @Column(name = "LOSAL")
    private Integer losal;

    @Column(name = "HISAL")
    private Integer hisal;

    public void setGrade(Integer grade){
        this.grade = grade;
    }
    public Integer getGrade(){
        return this.grade;
    }

    public void setLosal(Integer losal){
        this.losal = losal;
    }
    public Integer getLosal(){
        return this.losal;
    }

    public void setHisal(Integer hisal){
        this.hisal = hisal;
    }
    public Integer getHisal(){
        return this.hisal;
    }

}
